<?php 
class Company_picModel extends BaseModel {
	public function list_pic(){
		$data['cid'] = $_SESSION['company']['cid'];
		$data['is_del'] = 0;
		$list = D('company_pic')->where($data)->order('ctime desc')->select();
		foreach($list as $k => &$v){
			$v['pic'] = get_img_url($v['fid']);
		}
		return $list;
	}
	

}
?>